package com.haima.agentpartner;

import java.util.ArrayList;
import java.util.List;

public class HaimaSockRequest {
    public List<String> pkgList = new ArrayList<>();
    public List<String> domainList = new ArrayList<>();
    public ShadowsockConf ssConf = new ShadowsockConf();
    public String testUrl;
    public int testPeriod;

    public class ShadowsockConf {
        public String server;
        public int server_port;
        public String password;
        public String method;
        public String dns;
        public Locals locals = new Locals();
    }

    public class Locals {
        public String local_address;
        public int local_port;
        public String local_udp_address;
        public int local_udp_port;
        public String mode;

        public String dns_local_address;
        public int dns_local_port;
        public String local_dns_address;
        public String remote_dns_address;
        public int remote_dns_port;
        public String protocol;
    }
}
